package com.dada.tiku.web.controller;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.alibaba.dubbo.config.annotation.Reference;
import com.dada.tiku.service.TestService;

@RestController
public class TestController {

	 @Reference
	    TestService testService;
	 	
	 	@RequestMapping("hello")
	    public String sayHello() {
	    	return testService.sayHello();
	    }
	
}
